home *** CD-ROM | disk | FTP | other *** search
/ Enter Special 5: Digital Photography / ENTER Special 05.iso / Grafika / Paint Shop Pro 8.0 / psp800ev.exe / Data1.cab / Preset_MagnifyingLens_Rings. < prev    next >
Encoding:
Text File  |  2003-04-22  |  2.5 KB  |  72 lines

  1. from JascApp import *
  2.  
  3. def ScriptProperties():
  4.     return {
  5.         'Author': 'Kris Zaklika',
  6.         'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
  7.         'Description': 'An impression of concentric rings achieved with a repeating gradient',
  8.         'Host': 'Paint Shop Pro',
  9.         'Host Version': '8.00'
  10.         }
  11.  
  12. def Preset_MagnifyingLens():
  13.     return {
  14.         'Darkness': 0, 
  15.         'Defocus': 0, 
  16.         'Frame': {
  17.             'FrameColor': (255,255,255), 
  18.             'Material': App.Constants.LensFrameMaterial.Gold, 
  19.             'Style': App.Constants.LensFrameShape.Circular, 
  20.             'Thickness': 4
  21.             }, 
  22.         'Illumination': {
  23.             'LightList': [{
  24.                 'LightColor': (123,133,132), 
  25.                 'LightDirection': (-0.2913,0.2691,-0.8325), 
  26.                 'HighlightSize': 48
  27.                 },{
  28.                 'LightColor': (128,128,128), 
  29.                 'LightDirection': (0.478077,0.603516,0.638131), 
  30.                 'HighlightSize': 20
  31.                 },{
  32.                 'LightColor': (53,41,53), 
  33.                 'LightDirection': (0.652556,-0.75774,0), 
  34.                 'HighlightSize': 40
  35.                 }], 
  36.             'MaxAmbience': 80, 
  37.             'MinAmbience': 39
  38.             }, 
  39.         'LensSurface': {
  40.             'EnvironmentMap': {
  41.                 'Active': App.Constants.Boolean.false
  42.                 }, 
  43.             'Gloss': 0, 
  44.             'Magnification': 0, 
  45.             'LensMaterial': {
  46.                 'Color': None, 
  47.                 'Pattern': None, 
  48.                 'Gradient': {
  49.                     'Name': 'Black-white', 
  50.                     'GradientType': App.Constants.GradientType.Radial, 
  51.                     'Angle': 0, 
  52.                     'RepeatCount': 50, 
  53.                     'RepeatType': App.Constants.RepeatType.Pad, 
  54.                     'ColorStops': None, 
  55.                     'TransparencyStops': [], 
  56.                     'CenterPoint': (0.5,0.5), 
  57.                     'FocalPoint': (0.5,0.5), 
  58.                     'Invert': App.Constants.Boolean.false
  59.                     }, 
  60.                 'Texture': None
  61.                 }, 
  62.             'LensOpacity': 100, 
  63.             'Refraction': 0, 
  64.             'ShapeType': App.Constants.LensShape.Spherical, 
  65.             'Shininess': 85
  66.             }
  67.         }
  68.  
  69. def Do(Environment):
  70.     App.Do( Environment, 'MagnifyingLens',         Preset_MagnifyingLens())
  71.  
  72.